const initDate={
    num:0
}

export default (state=initDate,action)=>{
    switch (action.type) {
        case 'INSERT':
            return{
                num:state.num+1
            }
        default:
            return state
    }
}